<template>
  <div>
    <!-- 品牌制作 -->
    <div id="box">
         <img :src="date.list_pic_url" alt="" width="100%">
        <h3>{{date.name}}</h3>
        <p>{{date.simple_desc}}</p>
    </div>
      
  </div>
</template>

<script>
 //引入请求数据
 import {GetBranck} from "../request/api.js"
export default {
   data () {
    return {
        date:[]
    }
   },
   methods: {
    
   },
   created(){
     GetBranck({id:this.$route.query.id})
     .then(res=>{
        //  console.log(res);
        this.date=res.data.brand
        // console.log(this.date);
     })
     .catch(err=>{
        //  console.log(err);
     })
   }
}
</script>

<style lang="less" scoped>
  #box{
    position: relative;
    h3{
        position: absolute;
        top: 1rem;
        left: 1.4rem;
        color: #fff;
        font-size: large;
        text-decoration: underline;
    }
    p{
        text-align: center;
        font-size: large;
        color:#666666;
        line-height: 0.3rem;
        background-color: #fff;
    }
  }
</style>